(bug 5061) Thumbnail styles in main.css and commonprint.css are too imprecise.
authorPlatonides <platonides@users.mediawiki.org>
Fri, 15 Jan 2010 23:35:50 +0000 (23:35 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Fri, 15 Jan 2010 23:35:50 +0000 (23:35 +0000)
Use the more precise thumbcaption thumbimage and thumbinner classes for image divs on skins chick, simple and commonPrint.css

This just replicates the changes of r18303 on monobook.
Patch by Derk-Jan Hartman

RELEASE-NOTES
skins/chick/main.css
skins/common/commonPrint.css
skins/simple/main.css

index bb442ba..2f01595 100644 (file)
@@ -712,6 +712,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 19226) First line renders differently on many UI messages.
 * (bug 21303) Comments are no longer stripped from MediaWiki:Common.js and
   skin-specific JS pages
+* (bug 5061) Use the more precise thumbcaption thumbimage and thumbinner classes 
+  for image divs.
 
 == API changes in 1.16 ==
 
index 0de63f7..21100aa 100644 (file)
@@ -281,7 +281,7 @@ div.thumb {
     border-style: solid; border-color: White;
     width: auto;
 }
-div.thumb div {
+div.thumbinner {
     border:1px solid #cccccc;
     padding: 3px !important;
     background-color:#f9f9f9;
@@ -289,10 +289,10 @@ div.thumb div {
     text-align: center;
     overflow: hidden;
 }
-div.thumb div a img {
+html .thumbimage {
     border:1px solid #cccccc;
 }
-div.thumb div div.thumbcaption {
+html .thumbcaption {
     border: none;
     text-align: left;
     line-height: 1.4em;
index 93a37be..0932fce 100644 (file)
@@ -48,17 +48,17 @@ div.thumb {
     width: auto;
     overflow: hidden;
 }
-div.thumb div {
+div.thumbinner {
     border:1px solid #cccccc;
     padding: 3px !important;
     background-color:#f9f9f9;
     font-size: 94%;
     text-align: center;
 }
-div.thumb div a img {
+html .thumbimage {
     border:1px solid #cccccc;
 }
-div.thumb div div.thumbcaption {
+html .thumbcaption {
     border: none;
     padding: 0.3em 0 0.1em 0;
 }
index 5cf5950..525c147 100644 (file)
@@ -281,13 +281,13 @@ div.thumb {
     margin-bottom: 0.5em;
     width: auto;
 }
-div.thumb div {
+div.thumbinner {
     padding: 3px !important;
     text-align: center;
     overflow: hidden;
 }
 
-div.thumb div div.thumbcaption {
+html .thumbcaption {
     border: none;
     text-align: left;
     line-height: 1.4;